﻿[+special:strings]

Preview_Image=on

Preview_Image_Larger_(Zoom)=on

Enable_Link_Image=on

Enable_Icon_and_Name_below_Image=off

{- COMMENT| if you write " off " in the options you can disable each option -}


[file=folder=link|private]
	<tr class='{.if|{.mod|{.count|row.}|2.}|even.}'><td>
        <input type='checkbox' class='selector' name='selection' value='%item-url%' {.if not|{.or|{.get|can delete.}|{.get|can access.}|{.get|can archive item.}.}|disabled='disabled'.} />
		{.if|{.get|is new.}|<span class='flag'>&nbsp;NEW&nbsp;</span>.}
		{.if not|{.get|can access.}|<img src='/~img_lock'>.}

{.if|{.{.!Preview_Image_Larger_(Zoom).}=on.}|

<style type="text/css">

.thumbnail{ outline:none; position:relative; z-index:0; }
.thumbnail:hover{ outline:none; z-index:50; }
.thumbnail span{ /* CSS for enlarged image */ outline:none; position:absolute; background-color:lightyellow; padding:5px; left:-1000px; border:1px dashed gray; display:none; color:black; text-decoration:none; }
.thumbnail span img{ /* CSS for enlarged image */ border-width:0; padding:2px; }

.thumbnail:hover span{ /* CSS for enlarged image on hover */ display:inline; top:-250px; left:250px; /* position where enlarged image should offset horizontally */ }

</style>.}

{.if|{.{.!Preview_Image.}=on.}|


{.switch|%item-ext%|,|jpg,jpeg,gif,png,ico,bmp,tif,tiff,rle|{.if|{.{.!Preview_Image_Larger_(Zoom).}=on.}|<a class="thumbnail" href="#thumb">.}<img src="%item-url%" width="250" height="200" border="0" /* Here you can change the image size preview */ >


{.if|{.{.!Preview_Image_Larger_(Zoom).}=on.}|<span><img src="%item-url%" width="600" height="450" /* Here you can change size "Zoom" */ ><br /> %item-name%</span></a>|.}.}.}


{.if not|{.if|{.{.!Enable_Link_Image.}=off.}|{.switch|%item-ext%|,|jpg,jpeg,gif,png,ico,bmp,tif,tiff,rle|disabled.}.}|<a href="%item-url%">.} {.if|{.if|{.{.!Enable_Icon_and_Name_below_Image.}=on.}|{.switch|%item-ext%|,|jpg,jpeg,gif,png,ico,bmp,tif,tiff,rle|enable.}.}|<br />.}<img src="%item-icon%"> %item-name%</a>		


{.if| {.length|{.?search.}.} |{:{.123 if 2|<div class='item-folder'>{.!item folder.} |{.breadcrumbs|{:<a href="%bread-url%">%bread-name%/</a>:}|from={.count substring|/|%folder%.}/breadcrumbs.}|</div>.}:} .} {.123 if 2|<div class='comment'>|{.commentNL|%item-comment%.}|</div>.}




